package deanandjames.sound;

public class Music {
	private final MidiLoader midisLoader;

	public Music() {
		midisLoader = new MidiLoader();
		midisLoader.load("jjf", "jumping_jack_flash.mid");
	}

	public void play() {
		midisLoader.play("jjf", true);
	}

	public void stop() {
		midisLoader.close();
	}
}
